home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 2.2 KB | 48 lines | [TEXT/GEOL] |
- Item forwarded by DEREK to SEAGRAVES3
-
- Item 2316624 6-June-90 15:58PDT
-
- From: DEREK White, Derek
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: Error 290 + Uses efficiency
-
- ====== The Story Behind Error 290, Plus Lore About More Efficient Uses =====
-
- MPW Pascal error 290 is supposed to say:
-
- "Reached compiler limit of > 32K of identifier overflow characters. Try using
- shorter names."
-
- (Doesn't help much does it?). Some overzelous code cutter removed this error
- message (OK, it was me in a former life). Error 290 means that the symbol
- table is FULL. It's not a memory problem, but a problem with the way long
- identifiers are Huffman encoded.
- I beleive work is being done for a future release to fix this, but in the
- mean time you need to cut down on the number of (long) identifiers that the
- compiler is seeing at one compile. "Long" is tricky idea to judge with Huffman
- encoding, but I believe > six characters starts to become "long". So don't
- waste your time cuting one character from a four character name. Also, the
- letters "XZQJ", "%", "_", and numerals add more "longness" than the letter "e".
- But the first thing you should do is cut down on the number of units and
- include files you use for each compile. There is NO good reason to use
- "MemTypes" or "PackIntf", use "Types" and "Packages" instead. Unless you have
- a unit that times (Timer.p) disk initialization (DiskInit.p) over NuBus
- (Slots.p) while shuting down (ShutDown.p), DON'T USE "OSINTF"! Same goes for
- "ToolIntf". Compile with the progress option (-p) and monitor which files get
- opened for your problem compile. Find out if there are some units that you
- don't need to use, or that could be split apart.
-
- MacApp Users:
- Remember that UMacApp INCLUDES the interfaces for things like Types,
- QuickDraw, Windows, etc, so you don't need to use these units if you use
- UMapApp first. Do the -p thing and watch what is hapenning. This won't help
- the error 290 problem a whole lot, but it will speed up your compiles if you
- use your units in a consistant fashion.
-
- If you have this problem, good luck!
- Derek White
- ATG East/Columbia
-
-